<?php 
echo "<div id='searchBar'>";
echo $this->Form->create('posts', array('type'=>'get', 'action'=>'search')); 
                         echo $this->Form->input('search', array( 'label'=>'', 'id'=>'search'));  
                         echo $this->Form->end('Search',array());
						 echo "</div>";
?>